package com.saer.client.dto.network;

import com.google.gwt.user.client.rpc.IsSerializable;

public class MsgDto implements IsSerializable {

	private int clientId;
	private int action;
	private String data;

	public MsgDto() {
		super();
	}

	public MsgDto(int action) {
		super();
		this.action = action;
	}

	public MsgDto(int clientId, int action) {
		super();
		this.clientId = clientId;
		this.action = action;
	}

	public MsgDto(int action, String data) {
		super();
		this.action = action;
		this.data = data;
	}

	public MsgDto(int clientId, int action, String data) {
		super();
		this.clientId = clientId;
		this.action = action;
		this.data = data;
	}

	public int getClientId() {
		return clientId;
	}

	public void setClientId(int clientId) {
		this.clientId = clientId;
	}

	public int getAction() {
		return action;
	}

	public void setAction(int action) {
		this.action = action;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

}
